projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f468f0f
)
xi2: Set ::num-touches for touch devices
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 25 Feb 2016 13:25:50 +0000
(08:25 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Thu, 25 Feb 2016 13:27:08 +0000
(08:27 -0500)
XI2 has this information, so pass it on.
gdk/x11/gdkdevicemanager-xi2.c
patch
|
blob
|
history
diff --git
a/gdk/x11/gdkdevicemanager-xi2.c
b/gdk/x11/gdkdevicemanager-xi2.c
index a667c49da7bb3b45d18dab5cc4fcdad0f5c94f36..a3450ad7af1268e4ec0d5b66f08ffedb1cfd3814 100644
(file)
--- a/
gdk/x11/gdkdevicemanager-xi2.c
+++ b/
gdk/x11/gdkdevicemanager-xi2.c
@@
-487,6
+487,7
@@
create_device (GdkDeviceManager *device_manager,
"device-id", dev->deviceid,
"vendor-id", vendor_id,
"product-id", product_id,
+ "num-touches", num_touches,
NULL);
translate_device_classes (display, device, dev->classes, dev->num_classes);